package com.base.component.ai.workflow.node;

import java.util.List;
import java.util.Map;

import com.base.component.ai.workflow.core.NodeTypeEnum;
import com.base.component.ai.workflow.flow.Flow;
import com.gitee.magic.core.valid.annotation.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter@Setter@ToString
public class NodeCondition extends Node {
	
	public NodeCondition() {
		super(NodeTypeEnum.CONDITION);
	}

	@Schema(description="Key:fel表达式 Value:跳转的Node")
	@NotNull
	private Map<String,List<Flow>> expression;
	
}
